""" System imports """
import logging

""" Equinox """

""" Constants """


""" Set up logging """
_log = logging.getLogger("equinox.inventory")


class Inventory():
    
    def __init__(self, evManager):
        self.evManager = evManager
        self.evManager.registerListener( self )
        
        self.items = dict([])
        
    def addItem(self, item, count=1): 
        if item not in self.items:
            self.items[item] = count
        else:
            self.items[item] += count
            
    def remItem(self, item, count=1): 
        if item in self.items:
            self.items[item] -= 1
            
        
        
        